﻿using System.ComponentModel;
using System.Windows;

namespace XamlingCore.Infrastructure.DesignTime
{
    public static class DesignTimeHelper
    {
        public static bool IsInDesignTime
        {
            get
            {
                return DesignerProperties.GetIsInDesignMode(Application.Current.RootVisual);
            }
        }
    }
}
